﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace iHub
{
    public partial class main : Form
    {
        Image img;
        Image back;

        public main()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            back = Image.FromFile("C:\\Users\\Loowah\\Dropbox\\INTROSE\\User Interface\\sButton.png");
            img = Image.FromFile("C:\\Users\\Loowah\\Dropbox\\INTROSE\\User Interface\\spButton.png");

            employees.BackgroundImage = back;
            assignments.BackgroundImage = back;
            payroll.BackgroundImage = img;
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void employees_Click(object sender, EventArgs e)
        {
            back = Image.FromFile("C:\\Users\\Loowah\\Dropbox\\INTROSE\\User Interface\\sButton.png");
            img = Image.FromFile("C:\\Users\\Loowah\\Dropbox\\INTROSE\\User Interface\\spButton.png");

            payroll.BackgroundImage = back;
            assignments.BackgroundImage = back;
            employees.BackgroundImage = img;
            
        }

        private void assignments_Click(object sender, EventArgs e)
        {
            back = Image.FromFile("C:\\Users\\Loowah\\Dropbox\\INTROSE\\User Interface\\sButton.png");
            img = Image.FromFile("C:\\Users\\Loowah\\Dropbox\\INTROSE\\User Interface\\spButton.png");

            employees.BackgroundImage = back;
            payroll.BackgroundImage = back;
            assignments.BackgroundImage = img;
        }
    }
}
